﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WarCardGame
{
    public partial class _Default : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        

        protected void btnPlay_Click(object sender, EventArgs e)
        {
            // assigning player1 and player2 names into the session
           Session["Player1Name"] = txtp1Name.Text;
           Session["Player2Name"] = txtp2Name.Text;
            //calling game page
           Response.Redirect("~/warGame.aspx");
            
        }
    }
}